This file is a HyperCard 2.0 stack, stored in a StuffIt Deluxe archive. ChangeCase 1.0.2. Copyright Ben Lawson, 1993. All Rights Reserved. Shareware. Syntax: ChangeCase(Container,,) The ChangeCase XFCN takes text input and returns that text with the case of its characters changed according to the specified conversion method. This can be done in most scripting or macro languages (such as HyperTalk), but a compiled XFCN beats them for speed and simplicity of use. ChangeCase is ~1000 times faster than its HyperTalk equivilent on my Macintosh IIci! Using ChangeCase =============== ChangeCase can be used to quickly change the case of characters to the following states: Lowercase: All letters in lowercase. Reversed: Capitals turn into lowercase, lowercase letters turned into capitals. Sentence: First letter of each sentence capitalized, other letters in lowercase. Title: First letter of each word capitalized, other letters in lowercase. Uppercase: All letters capitalized. It does _not_ affect the following characters: - 'High' characters (those with ASCII values higher than 126) such as 'a', 'c', and 'x'. - 'Low' characters (those with ASCII values lower than 33), such as returns, tabs and linefeeds, as well as other esoteric characters that normally appear as little boxes if they are visible at all. - Numbers or normal symbols and punctuation such as '7', '?', '$', and '@'. Note: This XFCN is only designed to function properly with English text input. Use with other character sets may give undesired results. Version history ============ - 1.0.2: Released 93/02/17. Modified recognized method names. 'lower' and 'UPPER' are now recognized as eqivilents of 'lowercase' and 'uppercase'. - 1.0.1: Released 93/02/09. Added error check to report if the text string has lost or gained characters during processing. - 1.0: Released 93/01/31. First fully functional version. Not released.